from django.urls import path
from . import views
app_name = 'teacher'

urlpatterns = [
    path('', views.Teacher_dashbord.as_view(),name='dashbord'),
    path('logout/', views.logout,name='logout'),
    path('changepass/', views.Change_password.as_view(),name='changepass'),
    path('addcoures/', views.Add_course.as_view(),name='addcourse'),
    path('downloadcsv/', views.downloadcsv,name='downloadcsv'),
    path('managecourse/<course_id>/', views.Manage_course.as_view(),name='managecourse'),
    path('delcoursestu/<name>/<num>/', views.del_course_stu,name='delcoursestu'),
    path('delcourse/<teacher_name>/<course_course>/', views.del_cor,name='delcourse'),
    path('addstu/',views.Add_stu.as_view(),name='addstu'),
    path('setexam/',views.Set_exampaper.as_view(),name='setexampaper'),
    path('addque/',views.Add_question.as_view(),name='addque'),
    path('updateque/',views.ModifyQuestion.as_view(),name='updateque'),
    path('delque/',views.delque,name='delquestion'),
    path('release/',views.ReleaseExam.as_view(),name='release'),
    path('markpaper/<int:stu_id>',views.MarkPaper.as_view(),name='markpaper'),
    path('download/',views.downloadStuScore,name='download')
]